<!DOCTYPE html>

<html class="no-js">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />

  <script src="https://cdn.staticfile.org/axios/0.19.0-beta.1/axios.js"></script>

  <script src="https://cdn.staticfile.org/vue/2.5.17/vue.js"></script>

  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.13.0/theme-chalk/index.css" />
  <script src="https://cdn.staticfile.org/element-ui/2.13.0/index.js"></script>
  <link rel="stylesheet" href="../../../lib/index.css" />
  <script src="../../../lib/avue.js"></script>
</head>

<body>
  <div id="app">
    <el-row :span="24">
      <el-col :span="6">
        包含父类值:{{form1}}<br>
        <avue-input-tree   v-model="form1" placeholder="请选择内容" type="tree" :dic="dic"></avue-input-tree>
      </el-col>
    </el-row>
  </div>
</body>
<script>
  new Vue({
    el: '#app',
    data() {
      return {
        form:'',
        form1:[],
        dic:[{
          label:'选项1',
          value:0,
          children:[{
            label:'选项3',
            value:2
          },{
            label:'选项4',
            value:3
          }]
        },{
          label:'选项2',
          value:1
        }]
      }
    },
    methods: {

    }
  })
</script>

</html>